﻿using Net5ApiAndEfMySql.DtoModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VueAndNetCoreEfApi.PoModel.SystemAdmin;
namespace VueAndNetCoreEfApi.IRepository.SystemAdmin
{
    public interface ILineRepository
    {
        /// <summary>
        /// 线路详情显示
        /// </summary>
        /// <param name="sm"></param>
        /// <returns></returns>
        PagerResult<LinePo> GetPageList(SearchModel sm);
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="os_id"></param>
        /// <returns></returns>
        bool DeleteLinePo(int os_id);
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="op"></param>
        /// <returns></returns>
        bool AddLinePo(LinePo op);
        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="op"></param>
        /// <returns></returns>
        bool UpdateLinePo(OutsourcePo op);
    }
}
